package com.sservice.urp.dao;

import com.sservice.urp.entity.Com;
import com.sservice.urp.vo.ComVo;

import java.util.List;

public interface IComDao {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Com record);

    Com selectByPrimaryKey(Integer id);

    /**
     * 根据公司名称查找公司
     *
     * @param name
     * @return
     */
    Com selectByComName(String name);

    int updateByPrimaryKeySelective(Com record);

    List<Com> queryByPage(ComVo com);

    int queryCount(ComVo com);

}